added unit tests for injector and interpolate