diff --git a/readme.md b/readme.md
index 18ffa72..7278e60 100644
--- a/readme.md
+++ b/readme.md
@@ -17,39 +17,29 @@ See [usage](docs/usage.md) for requirements, installation instructions and a usa
## Table of Contents
---
diff --git a/scripts/tests.py b/scripts/tests.py
index 4bd45b0..ac2a4a8 100755
--- a/scripts/tests.py
+++ b/scripts/tests.py
@@ -140,11 +140,14 @@ def tests(tests):
print("Can't find implementation!")
continue
- vsplit = "M"
+ vsplit = "AKR" + chr(ord('Z') + 1)
vtype = locations[0][1]
- types = [vtype + ' A-' + vsplit[0], vtype + ' ' + chr(ord(vsplit) + 1) + '-Z'] + [loc[1] for loc in locations[1 :]]
+ types = [vtype + ' ' + vsplit[i] + '-' + chr(ord(vsplit[i + 1]) - 1) for i in range(len(vsplit) - 1)] + [loc[1] for loc in locations[1 :]]
if type == vtype:
- type = types[0] if cap_name[0] <= vsplit else types[1]
+ for i in range(1, len(vsplit)):
+ if cap_name[0] < vsplit[i]:
+ type = types[i - 1]
+ break
for t in types:
if not t in bodies: