Tests and the start of an Interface for Window

Fleshing out the interface and adding some tests of basic functionality
(capacity and size)