remove unnecessary brackets in test cases