Fix some properties in Frame class
Added a test to testframe.py