added some rudimentary tests