Add test coverage and fixes for `RKMappingTest`. closes #1086