Added some tests around rest API
Merge pull request #495 from excilys/RestAPITests

Added some tests around rest API