fix error message
basic integration test