Added register test.
Added delete tests.