Add more integration tests

Support all record modes correctly