finish the loading view and add the test view