added tests for Shared Collection sample (includes java implementation of that map)