improve tests for pieces