base decode and tests