Get the Pod REST API and tests working

Change-Id: Ib765d1c3ed8a6c06136233abd393fb1efae71e41