Added mozmill test file. Code improvements.