Fixed library targets for tests