Better test main function.