#2585 - Fixing undefined variable error and adding unit test for edd_price