Add test support for *.tot file from Optimus G and some minor other changes.