add tests for allready exists and not exists exception