add test dependency to persistence instead of service