pieces unit test from start