add test for pieces call