Rest handler is growing: added Method Not Supported status code and some test for it.