add more tests for the new analysis