Fix test / remove debugging statements / set log level to debug