Prepare tests

this closes #17