Add big perft case.

Cleaned up some code in the perft tests.