Test of invalidate() method of LinearLayout