Implement main tests