Implement optional maximum test times