unit test for performance