fixed required client/group bug

Signed-off-by: Álex Mesquita <alex.mesquita06@hotmail.com>
Signed-off-by: Bruno de Amorim Campos <amorim.software@gmail.com>
Created the tests for verify_client method

Signed-off-by: Álex Mesquita <alex.mesquita06@hotmail.com>
Signed-off-by: Bruno de Amorim Campos <amorim.software@gmail.com>
Merge pull request #12 from alexmesquita/devel

fixed probems required for pull request