1) added tests for obp_form_date, obp_to_date,
obp_offset
2) some refactoring