[#13] Added termination test.