adds rudimentary tests