created a second cheeky html test file
modified date calculations, tried to DRY it up