Null ptr

Null Ptr primitive for the Java back end and some test improvements.