create test module, move code
Remove bug, testcode for requestsnip