made sure tests aren't allowed infinite run time; added default identity function