fix and simplify the dummy lib test