Testing library for asserting time complexity