Fixed the constructor issue with incompatible types, and fixed the issues with the tests using too few parameters for the test constructors