Add tests for strict method checking