Properly append to unit tests libraries instead of overwriting them.
Merge branch 'unit_test_libraries_fix'