Port quarter tests
Port relative time tests
Fix is moment tests and normalize some whitespace