Integrated test suite, broke some components out into more standard angularjs structure