added tests for exemplatory php loader implementation
refactored the feature state to an own object