add rectangle collision detection test