fix tests feature
fix constraint