tests with jframe and menubars