improved functionality, checking if notify-send command is available
- tests failed if you run them on a non-ubuntu box
- tested on ubuntu 13.04 and mac osx 10.8.4