fix linker errors, run first tests