fixed some test cases; modifications for adding of constructor parameters