main tests