clean up test a little bit
daemon: code formatting cleanup