updated spec environment and removed unused test contexts