put test into __main__