added some tests, allow to get an instances class through instance:is_a()

fixes #75