Added sample map for events handling and fixed tests for checking map credits

sample map to test events with a mock scope and fixed the check for credits on map unit test