unit testing in place and validated as correct