adjust test
add .slice() for webkit