added 'test' for required validation in demo app