reformatted files
updated example client. fixed file formatting and added in new tests for pagination