Moving JS testing out of spec dir