byte array resource
code test class and modified some function
Merge pull request #2 from ipluser/develop

add test class and modified some function