added unit tests for the class autostamping functionality