unit and functional tests for checking items