added tests and creating books on the application page