Fixed some coding standards and started tests for sending request