controller setup method
controller test warnings fix
RWLock tests and fixes