refactored ability tests