adding decode unit test