Adding early version of test_decoders to save my work
Cleaned up decoder solvers and related tests.

- also updated `allclose` helper function