Show error message if open() failed
Add a test for control string