Fix bug in test_conventions