added watertight test cases