RFDa library and tests