add an integration test (#81)