Fixed inheritance bug with assignment to superclass-constructor, and updated tests