ADDED more tests and params varification on API methods
ADDED more tests