test: Track test durations

Signed-off-by: Lewis Marshall <lewis@lmars.net>
Merge pull request #497 from flynn/test-durations

test: Track test durations