test gui without writing an error