Updated with unit tests for piece and some for bag

piece unit tests and 1 for bag