Move constructor tests out of test/inheritance.js