add tests and solutions for problem 27 parts A and B