projects substr test fix