Ported ztime test to rspec