Static library compilation for testruner (allows to test all functions)