added shitload of tests, closes #1