label components; move tests to xpcshell-tests