unit tests & configurations

closes #2
closes #3
aaaand 
closes #4