Initialized the listener and the repo

The repo is good for the whole test
Renamed misspelled test
Added code to detect a global branch change