Adding test cases for XcTest