Move test doubles to top of tests