Test repr method as well

Signed-off-by: Michal Čihař <michal@cihar.com>
Add test for failed library loading

Signed-off-by: Michal Čihař <michal@cihar.com>