Attempting to implement regex tests