removed obsolete getSecurityManager and setSecurityManager
Test unit for several buffer size