added test and bug fixes for the delta windows