More than 300 charities and voluntary organisations have signed a letter to the home secretary, saying they will refuse to comply with her “immoral and impractical” proposal to introduce a volunteering “test” for migrants applying for indefinite leave to remain in the UK.