fixed operators and add tests
fixed
Merge pull request #1 from zigorou/fixed_operators

fixed operators and add tests