Improved NULL and implemented NullValueType. Added more tests.