I got all the tests working. It was a beast.