Tests

Adding the test cases for basic unit testing on the backend