fixed a bug on bath finished callback where the request queue was now empty
added test event listener to test callbacks