Toward test-driven development of scientific applications with coarray Fortran