found a bug (no var for resourceType)
fixed missing resourceType declaration
added new test (resourceType match)
added new test (resourceType match but marker has higher priority)
added new test (basic containment test)
added new test (basic containment with ancestor)
resolve states tests (containment and markers)
resolve states tests (containment and no markers match)
resolve states tests (marker match > containment match)
resolve states tests (covers bug 1)
resolve states tests (covers bug 2 - containment match)
resolve states tests (covers bug 2 - containment and marker match)