fixed test, changed from scipy.imread to pylab.imread in some cases
due to odd PIL-related bugs on Linux
changed examples to use pylab.imread in place of scipy.misc.imread