Fixed minor issue with tests