some integration test... not sure if it's right