testcases extended and observer optimized to run test cases faster;
code review