fixing mode of the tests