Test main