Reorganise docs on writing tests
Fix documentation layout