Testing Google Licensing Problems

So I took the sample Google Licensing code and changed the part of how it handles a fail and added it to my build. I wanted to test to see if what I did would work for a license check fail.

I then went to the Android Developers console and added my non-main gmail address to the list of tester accounts. And I’ve tried the static settings of NOT_MARKET_MANAGED and NOT_LICENSED 

This APK is an update of one already in the store, so I have tried building the APK file with a different version number AND the same version number as the one in the store.

In the build settings I have the correct key and I have tried both the Strict Policy and Server Managed Policy.

No matter what I try the app loads normally for both my main production account (Not in tester list) and the test account (IS in tester list). Even if I have the policy set to Strict and turn off the wifi on my device it STILL loads normally.

Here is my code:

local storyboard = require( "storyboard" ) local loadsave = require("loadsave") local licensing = require( "licensing" ) licensing.init( "google" ) local continue = true local function licensingListener( event ) local verified = event.isVerified if not event.isVerified then --failed verify app from the play store continue = false end end licensing.verify( licensingListener ) local function alertListener ( event ) if "clicked" == event.action then local i = event.index if i == 1 then native.requestExit() end end end if continue then storyboard.gotoScene( "menu", "fade", 800 ) elseif not continue then native.showAlert ( "Not Authorized", "The app was not purchased from Google Play.", { "Close" }, alertListener) end

I feel like the licensing is not working at all, especially since the app still loads with no internet connection and a strict policy.