Remove duplication in tests
Allow float timeout