Preliminary solution for remaining tests.