add tests for inherit(), inheritsFrom(), bind()