Adds test for allow properties option