How to integrate and test the Raspberry Pi Camera Module with Poppy Ergo Jr?

How can I connect and test the Raspberry Pi Camera Module with the Poppy Ergo Jr robot to ensure it works properly?