Add ability to take attendance for past dates
Modified test based on pull request feedback
fix merge conflict