Synchronize grunt and browser tests