added null tests