Add another test, fix a bug involving null name for injection