Updated: copyright year.
Further test tweaks.
Use logging module instead of print.