Adding tests directory and initial api tests.