remove main in test