more tests + log tests

Done, but BOOST did not let me do it for data (bytes). Seems like missing << operator for output.