Add test for constructBook