split out unit test into separate file