don't forget to link libs in tests too