Completed pieces unit test functions