Fixed bash script error

This fixes the following error that may occur:

nosetests -bash: [: ==: unary operator expected