for some reason, the linker on my linux machine fails to link the tests otherwise. investigate / fix before merging.