Functional tests

adding changes to run sanity test on travis with firefox