refactor(spec): Improve assertions

@matsko could you please quickly review the form part of this PR ? Thanks.