implement some titan unit tests