Added a simple test for the listener being called.
Added the API Reset call to the unit test to ensure data is cleaned out.