moved tests to tests directory