fixed trailing comma
fixed tests with external server