I found what is wrong with the test, patch forthcoming.
Created attachment 26705 [details] Fix the test
Comment on attachment 26705 [details] Fix the test r=me
Committed revision 39890.