fixed avatar behavior
improve submission controller test coverage