Fix package stats test