Add test verifying chained method invocations