change isInteger function in .view.buttons/EmailButtonPanel to be private, add tests for .view.buttons xwen2