added new tests and fixed minor things in basic, references, pointers.