WCMS-13 allow blank and nil for trogdir_id and biola_id. Wrote some tests for it.