Add some tests for frame decoding