improve unit test to include paramaterized inject