update test requires for lib/index