implemented wrong test time function and tested