Added test for partial credit