Fix code quality in feature specs