My version of SymbianOS unit is a bit more flexible in that respect. It does contain a text shell version. I would consider my version to be 0.0.01 (thus potentially a bit better

) The good part is that you don't have to write your test for the UI or the console, but you create always a DLL (instead of a EXE) and that one gets loaded either into the S60 UI, the Console-application, or UIQ UI. The console version is a bit rough and has some outstanding TODOs
Of course you will need to make sure that your DLL is not dependent on any UI parts, but then again, unit testing of UIs is a story of its own and in your case it's definitely not the case.
Cheers
Maze