Adding tests for isRealNumber.