optgetlong functional, testing