write a bunch of unit tests for the desired javascript inheritance api