When running unit tests with 'rebar eunit', rebar will give precedence
to the modules already present in its binary file over the ones in the
project. As rebar uses getopt, the old version of the module was being
used and the unit tests were failing.