Added lock to cassandra key cache, changed test port to 9001