Fixed broken unittest