testing common basic cases