Do not test getReferer()
Added formatter for test field in PastDBTest, small extra fixes