first working mock and keystore