added test class for Part class