Moved module tests to their own package