tests for modstd.lib