Fixed bash script error

This fixes the following error that may occur:

nosetests -bash: [: ==: unary operator expected
Merge pull request #6 from kylegibson/patch-1

Fixed bash script error