fix failing test (wrong assert function was used)