split out tests into a separate file