Reformat README
Add instructions for running tests to the README
Make logging system more robust