added key provider test