Replace artist registration code and implement test