moved main test