added unit test for instanceOf and updated readme