Added existing dependency to unit test.
Abstracted some parameters.