fixed test for registerbank