Added unit tests for all pass problem.