added tests and catch.hpp