added main function to test_morelists