Add unit test of AdHocAbstractRecord class.

Design of test class with static input types in accordance with using in
Flow123D.