removed superfluous test files

It is not so useful to have a separate file just to declare the main method
when there is only one source file for the tests. It is still possible to
do so, though.
added a minimal integration test