fixed a bug of maven not running a test