test for parsing kicks
fix Cast<T> usage
fix test