[2014.1] Add tests for #12209