add UI test and fixed aparment/show