Only comment I have is the unusual naming of this function.  I know it is test code, but I wouldn't expect otp/2 to return true/false based on one arg being greater than the other.  This is a just a weak comment, I don't feel strongly enough to ask anyone to change it.