adding tests to register, wrote print method for arrowtests