fixes existing tests, adds an example test for the speed widget