Moved out tests to tests directory