added comments to osralib and testdiagrams