Add testing buybooks getbooks and addbooks