added minimal tests