improved presence
adding im command-line auto test