Adds tests for the to-many specification