add tests; fix .desktop file validation