Update to NAs handling.
   a) replaced default long NA to be Long.MIN + 111 instead of Long.MIN (small doubles clashed with Long.MIN after conversion).
   b) added NATest.