remove "function invalid(){ return D }" from some tests