Added test case for callback timeouts
Test case naming
Fixed scope when calling emit on a view