Basic fraud module tests and implementation
Merge remote-tracking branch 'origin/master'