improve speed of testing.