adding tests, closes #11