Design and construction of a prototype of a flat top beam interferometer and initial tests