adding rudimentary tests