Added test cases for complex sample objects