Split test functions into separate files. Made use of typelist with them.