Added tests: Constructors throw exceptions on null parameters