check If map loaded
give a rest to cpu
Merge pull request #1219 from ahmetmircik/testFixesMaster

Fix issue #1197