Removed button.close() test because it caused the test framework to hang