Fix tests for browser and bump version to 0.2.1