added many tests for browser + bugs