fixing testing assert