tests ast