Add solution to 12.5. Modified question test for 12.3.