add some console output, flesh out tests