Added test to check if all event handlers are unbind when a component is destroyed.
Added query cache tests.
Added test to check if the query cache is cleared when te component gets destroyed.