Fixing testCase 

in testCheckIfTempPassExpired() the time() was being set incorrectly which would cause any further test to fail.
Case fixed!