Added test script for library checking

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>