fix failing test :)
DRY up regions and fix failing test WIP
pass all tests, refactor registration js