Added first lot of tests for advanced question, testing for hasHigherPrecedence