Testcases for Bug 852185

Completion of: https://github.com/mozilla/bedrock/pull/719

Testcases implemented.