add tests from NBS 500-20