junit-test for crypto-class
added encoding/decoding
changed imports
edited test