Optimize custom attributes check to build less pseudo custom attributes
More mobile tests update