more tests
added simple api test