tests for assignment with regex made by @eltjo-k

fixes #225