Fixed strange problem with tests