[#858] break up the tests
[#2006] add topological test mode for devtest.sh