The tests were broken. Here's how I fixed them!