add an eunit test
eunit found a bug