Fix brackets so all assertions are tested

Prior to this commit, the misplaced brackets caused only the first
assertion to be tested. This commit corrects the brackets, and now
all assertions are tested as intended.