test: convert unit tests to spock, add logging checks