tests: Updated test for build_mapping.

Signed-off-by: Joe MacMahon <joe.macmahon@cern.ch>
schemas: Fixed failing test for update_mappings

Signed-off-by: Joe MacMahon <joe.macmahon@cern.ch>
actions: Used a class instance variable to hold the logger.

Signed-off-by: Joe MacMahon <joe.macmahon@cern.ch>