tests for hook_store_password and hook_store_references