Added some tests for core api
Merge pull request #5 from gpshenoy/master

Added some tests for core api