added more API tests
added duplicate key test