add libraries and test infrastructure