Added tests for several API classes