Added tests for injectData method :metal: