* add integration test framework * fix integration tests * fix integration tests
fix metadata cache validity too long