finish layout and test