Added test functionality in all state functions within salt.states.keystone

Fixes: https://github.com/saltstack/salt/issues/15653