Added test for required