tests for the new functionality