Added tests and updated books admin views