Adding test capabilities, and a simple functional + unit test for stopwatch view