Remove some console log and move GET test to index.js.