marshal piece unit test