Unit Tests for intrinsic functions