Added a class to test RPC
made method name checking in RPCValidator case-insensitive