Updated Functions

Updated some contactbook methods
Added one contact book test