Functional test for register