Added a few more tests for A1. Also added some exception handling for loggers.