API contracts WIP - NotNull and NotEmpty partially implemented and tested (task #47)