* fix: use the same step interval as in the dashboard query while creating alerts from panel
* chore: added extra safety checks
* chore: add test cases for the mapQueryDataFromAPI utils
* chore: added functions test cases as well
---------
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>