added test to create statement and related factory