Adding functioanl tests to the backend api (see #2)

I am adding more tests to the api. I will continue to finish other tests.