Replace fixtures with mock in test_keystone.py

Change-Id: I83b5035c6919ced43cb4b39ae233976a3a06fa76
Merge "Replace fixtures with mock in test_keystone.py"