wrote some tests for inverse injection