Bug 916383 - Adding test for fix r=mbrubeck

--HG--
extra : rebase_source : 1f0e9b7768e63d1e5dc8d402456cbeebbf5a6b05
Bug 891667 - Adding test for fix r=mbrubeck

--HG--
extra : rebase_source : 2001d1f8ea387fed567d8fdb1c357acaa90057c6