Test code with Book