Adding Join test. Fixing small bug in Window.