Added register test