add a little tests for startmanager.

1. make a little change according to
http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html.
2. add a little test for start manager.