Testing the code book