tidied

added time modification test

small edits for PR