Modification end of 2012

The modification by the M2 students as a part-time job.
Bug fixed

a bug of test code is fixed
All test

All tests are implemented.