Added frontend/configtool related unit testing and refactoring improvements

This pull requests aims to address the outstanding TODOs inside of the frontend configtool related classes

Related #484 
I think there's too much being tested under this method. Try splitting it into multiple tests.