Fix library and module name in library and module definition code
Small indentation fix
Add a testsuite skeleton