Added tests for process_registes