Ported advanced tests

And implemeted associated functions in the manager.
Merge pull request #36 from alvico/rr

Ported advanced tests