[C59] Fixed robot file saving
[c59] Added more tests