Bug 1013367 seems similar and has a test case of sorts in the bug description. Another similar bug is bug 1026401.
Bug 1013367 seems similar and has a test case of sorts in the bug description. Another similar bug is bug 1026401.