Tests for Piece class

Tests for Piece class