this could be merged with the previous test?