moved test configuration to a seperate function, set phpcodesniffer paths even when cache found
moved test configuration to a seperate function, set phpcodesniffer paths even when cache found

mehtryx/titan,mehtryx/titan