Merge "libcore: add tests to check behaviour for padding and decrypt mode"