adds logic for parsing plays and tests