WIP: test logic