Tests for has function added