fix old tests that's found not working during travis integration.