Attempt at testing decision logic