refactor test structure

- compile each test into its own binary file and execute it
- create a simple `sphia-test.h` which holds setup/teardown stuff

makefile is a bit ugly (usage of `$(basename)` specifically), so i'm up for a discussion here :)