added main tests