better command line test interface