Swapped assertEquals to assertNotNull