refactor out tests into new file