fixing regression, adding test
Merge branch 'fixInkCoreRegression' into develop