I did ask a question in the TMS Support forum about unit testing of TMS Web Core applications. You can read the discussion in the TMS forum here.
The bottom line is that Wagner Landgraf did develop a DUnit version that supports testing TMS Web Core applications. You can find his open source project on GitHub here.
I will certainly give it a go.