add window restore and rspec config