added tests for P04