Added test for declared