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 
Here's a list of unittest assert methods: https://docs.python.org/2/library/unittest.html#assert-methods

`assertIn` would be better here.