She did a lot of work in terms of back and forth related to negotiating the contract and getting back my deposit, so I am ok with that.
She also charged me $650 for the title searches which was more than I had expected, but since I got my deposit back (I was a little afraid I might not) I was ok with it. She deducted the fees from the deposit which was sent to her attention, so there was not much I could do about it anyway.
Thanks to all for your answers!
Ali, from professional opinion, yes you should get your down payments back if there is a fault in inspection or for mortgage and such as long as it specifies the purchase is contingent upon passing these items. So, please make sure they are written down. If you work with a Realtor, they usually take these steps and of course, you need to have a lawyer who will explain you the procedure and protect you. Good luck!