moved tests from test dir to a top level dir