added a rudimentary test