all tests function properly and instance of all cases