Added tests.
Fix #257b - More work on tests.
Fix #257 - Request filled manually instead of loading an stored json file. There were issues parsing modes and other fields correctly.
Merge pull request #411 from vreixo/issue257b

FIx #Issue257b - Modified TripRequest task and added testing of the core functions.