added proper testing framework and rudimentary tests for a simple structure