added phantom js tests