Moved some JavaScript tests and created others