Added main tests