Added test to trainable