add scaling and selenium tests