update on batch and tests
(added more tests, fixed a bug)
Merge pull request #54 from benoitmangili/batch_rsc_more_tests

update on batch and tests