Fix pieces test