added main test method