Added some testing, logging works