Created inject spec, fixed inject addition functionality