write simple integration test
turn it into a real test