Change api in aspeclib.test.