Removed unnecessary index.js files and moved tests into backend dir