Added a test and fix for a bug which was causing passed in records with static properties to cause barb to fail.

Signed-off-by: Rick Minerich <richard.minerich@gmail.com>