validation expect() for void val functions (TODO: catch exceptions and assertions in val function)
catch exceptions and assertions in validation