bug fixes, adding sample selenium tests