Separate code and test into individual files.