Added tests for variable frame sizes.