tests for facade and validator