Adding tests for inherited configuration beans

Also added usage of helper method in save() so inherited config beans
are properly persisted.