remove error text in lib rspecs

there is stderr from the key configuration complaining about key files existing
there are deprecation warning around `any_number_of_times`