set subdir-objects on all .am files
Add subdir-objects to test dir