made test more abstract