fixed 'make test' bug