fix sporadic travis failures for key type/size tests (travis compute speed is highly variable)