added test cases to linear layout