Fix pending test
Partial implementation of simplify method