Refactor on SdkListener

Added a little bunch of tests in order to explain what SdkListener does.