test creating a new main statement passing