1) implemented adding book functionality 2) code covered by tests