Add RTL unit tests