Test and refactor Exercism::Assignment.save