add more test cases for BasicObject
add tests for Window class