fix f_bases handling in static linker
fix test harness
add function pointers test