added more tests to register file, fixed naming