refactor tests for pad