Basic Unit tests for parsing responses and minor relating fixes