Spent whole day testing the code written till now and after many test failure and editing the grammar for each case my code was able to pass all the test cases on my local system and on travis.
Finally my pull request is green.
Expect from GSoC work, I tried to build the LibreCAD (version which is currently being build as GSoC project ) but not able to build it now.