Now with functioning integration test.