test($state): test relative states for is, includes and get
fix($state): find state for base in findState()