A method of computation of unsteady wave-driven coastal currents: Test-cases of RIPCEL: report on mathematical investigation