Add tests for library resource

Add tests for library resource

Signed-off-by: Jeff Godin <jgodin@tadl.org>