[PATCH v2] tests: remove unneeded conversion to bool