added test cases

test cases added, formatting needs changing