Added test to ensure match_on works with objects which inherit class glm