add some missing parenthesis in an assert

One of the unit test was failing after the latest commit.  This fixes it.