Adding encoding declaration in IDE python formatted. Fixes issue 5308
Making recently added Firefox-specific tests to run in local environment only