removed obsolete tests.
changed all print() to logging.*