test: refactor tests into their own files