Added basic tests for Library

All Codec encoding needs to be reversed