Javascript test refactor / improve coverage

Removed a couple of unused methods on DoughBaseComponent
Added some coverage
Reduced duplication in tests
Could use the chai style selectors for this? https://github.com/chaijs/chai-jquery#valuevalue