added tests for remote-http
added empty hash for remote-http
style fix
removed unused variable