lib,test: fixed lint issues

Added missing semicolons.