added tests for up and down element