Merge inject tests

test coverage of the inject pattern

takes of from where https://github.com/Patternslib/Patterns/pull/155 stopped.