Added tests with APIs