add tests for sub classes
fix for sub classes unless using FastOpenStruct.new

fix #11