[5.2.x] ISPN-4053 WriteSkew not throwing an exception for AtomicMap in REPL and ...

...DIST mode

Added tests to repl and dist mode.

Note: the problem was already fixed indirectly by other issue. added tests to confirm.

https://issues.jboss.org/browse/ISPN-4053