Fix incorrect reading of RUN_TESTS boolean