move transport test in transport class

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>