Add test framework for book container

Also add test for container cloning