getBodyParts functions and tests.