This is why you write unit tests. You put more time on the frontend, but end up saving tons of time on the backend.