Added missing tests for deprecated modifier #462