ARQGRA-290: AttributeIsPresent condition fixed

* It now counts with empty attributes' values and claims those empty
 attributes as they are not present

* tests for this added