Added build activities for tests. Restructured utilities for browser.