Added tests for has and hasNot steps from a vertex