testmanager: test main() function