validation of timeout setter + unit tests for API setters
missing unit tests and tiny exceptions fixes