Finishes relay parsing of params; adds testing stuff