issue #49 - default from and test mode implemented