moved tests into own file