throw exception on bad input to seconds_elapsed(). added test case to check for exception