adding comments and renaming test cases to make the intent clearer