Add tests for contrib libraries