fixed 5.3 issue in tests (should fix travis build too)