slightly more complex test