Add test dir
Modify tests
Add more tests
Initial stable implementation

  regarding the stable -- looks good, passes the test
Add crash-test (not yet passed)
Minor refactoring of module code
Merge remote-tracking branch 'origin/master'