adding test to adding book funcionality