More tests
Added null pointer checks for GC