Moved selenium test before deployment