Separated tests and production code in different files