fix error in window resetting
install blast to run tests