Added time constraint tests, fixed TestsUtils