added tests to top level