Testing python logging