RT tests cleaning
File renaming
Database tests and fixes