tests review
add set method
add autoResizeWindowForNew (not finished)
implement auto resize window