move built-in tests into own file