fix missing test task
only handle valid map
very basic api connection