Set up tests and module system