Bug/5479 unit test fix

A fix for https://github.com/adobe/brackets/issues/5479

Please let me know if I missed anything, this is my first one!