cleanup test ui code