first version of tmpView test and refactoring
tested tmp view